package com.bruce.log;

import cn.hutool.log.Log;
import cn.hutool.log.LogFactory;

/**
 * @author xin.ding
 * @date 2021/5/18 15:25
 */
public class LogTest {


    public static void main(String[] args) {
        Log logger = LogFactory.get("test.log");


//        LoggerBuilder loggerBuilder = new LoggerBuilder();
//        Logger logger = loggerBuilder.getLogger("test1.log");

        logger.debug("shuai1 +++++++++++++++++++++++++++++++++++++debug");
        logger.warn("shuai2 +++++++++++++++++++++++++++++++++++++warn");
        logger.info("shuai3 +++++++++++++++++++++++++++++++++++++info");
        logger.error("shuai4 +++++++++++++++++++++++++++++++++++++error");
    }


}
